var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000826.SZ",
            "tradeType": "Sell",
            "buyPrice": 34.19,
            "sellPrice": 34.25,
            "quantity": 200,
            "fee": 8.1,
            "openTime": "Dec 18, 2017 2:44:31 PM",
            "closeTime": "Dec 18, 2017 2:45:26 PM",
            "openOrderId": "823232",
            "closeOrderId": "823293",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000651.SZ",
            "tradeType": "Buy",
            "buyPrice": 43.81,
            "sellPrice": 43.96,
            "quantity": 5700,
            "fee": 294.994,
            "openTime": "Dec 18, 2017 2:18:02 PM",
            "closeTime": "Dec 18, 2017 2:19:57 PM",
            "openOrderId": "822207",
            "closeOrderId": "822306",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000651.SZ",
            "tradeType": "Buy",
            "buyPrice": 44.01,
            "sellPrice": 43.96,
            "quantity": 300,
            "fee": 15.528,
            "openTime": "Dec 18, 2017 11:11:10 AM",
            "closeTime": "Dec 18, 2017 2:19:57 PM",
            "openOrderId": "813355",
            "closeOrderId": "822306",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000568.SZ",
            "tradeType": "Buy",
            "buyPrice": 66.4997,
            "sellPrice": 66.49,
            "quantity": 5300,
            "fee": 414.9276,
            "openTime": "Dec 18, 2017 1:45:46 PM",
            "closeTime": "Dec 18, 2017 1:59:39 PM",
            "openOrderId": "820866",
            "closeOrderId": "821505",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000568.SZ",
            "tradeType": "Sell",
            "buyPrice": 66.4997,
            "sellPrice": 66.58,
            "quantity": 200,
            "fee": 15.6788,
            "openTime": "Dec 18, 2017 1:24:03 PM",
            "closeTime": "Dec 18, 2017 1:45:46 PM",
            "openOrderId": "817585",
            "closeOrderId": "820866",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000568.SZ",
            "tradeType": "Sell",
            "buyPrice": 66.4997,
            "sellPrice": 67.07,
            "quantity": 1300,
            "fee": 102.5841,
            "openTime": "Dec 18, 2017 11:08:15 AM",
            "closeTime": "Dec 18, 2017 1:45:46 PM",
            "openOrderId": "813156",
            "closeOrderId": "820866",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000858.SZ",
            "tradeType": "Buy",
            "buyPrice": 76.03,
            "sellPrice": 76.39,
            "quantity": 1400,
            "fee": 125.8373,
            "openTime": "Dec 18, 2017 1:37:53 PM",
            "closeTime": "Dec 18, 2017 1:41:08 PM",
            "openOrderId": "820000",
            "closeOrderId": "820404",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000858.SZ",
            "tradeType": "Buy",
            "buyPrice": 76.03,
            "sellPrice": 76.35,
            "quantity": 1600,
            "fee": 143.7627,
            "openTime": "Dec 18, 2017 1:37:53 PM",
            "closeTime": "Dec 18, 2017 1:40:06 PM",
            "openOrderId": "820000",
            "closeOrderId": "820304",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000568.SZ",
            "tradeType": "Sell",
            "buyPrice": 66.46,
            "sellPrice": 66.58,
            "quantity": 1400,
            "fee": 109.76,
            "openTime": "Dec 18, 2017 1:24:03 PM",
            "closeTime": "Dec 18, 2017 1:25:26 PM",
            "openOrderId": "817585",
            "closeOrderId": "817695",
            "tradeDate": "2017-12-18"
        },
        {
            "trader": "54709",
            "dataDate": "2017-12-18",
            "symbol": "000568.SZ",
            "tradeType": "Sell",
            "buyPrice": 66.39,
            "sellPrice": 67.07,
            "quantity": 200,
            "fee": 15.7633,
            "openTime": "Dec 18, 2017 11:08:15 AM",
            "closeTime": "Dec 18, 2017 1:24:57 PM",
            "openOrderId": "813156",
            "closeOrderId": "817661",
            "tradeDate": "2017-12-18"
        }
    ],
    "page": {
        "pagesize": 10,
        "currentpage": 1,
        "totalpage": 0,
        "totalnum": 32
    }
})
}
